package com.pinda.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pinda.auth.entity.PdAuthMenu;
import com.pinda.authorization.entity.Menu;
import com.pinda.mapper.MenuMapper;
import com.pinda.service.MenuService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 菜单 服务实现类
 * </p>
 *
 * @author 黄杰
 * @since 2023-06-13
 */
@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu> implements MenuService {
    @Resource
    private MenuMapper menuMapper;

    @Override
    public List<Menu> findMenuByUserIdService(String userId) {
        return this.menuMapper.findMenuByUserId(userId);
    }
}
